package com.etime.shycourse.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author wb
 * @since 2022-03-15
 */
@ApiModel(value = "Couponrecive对象", description = "")
public class Couponrecive implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "couponreciveid", type = IdType.AUTO)
    private Integer couponreciveid;

    private Integer couponid;

    @ApiModelProperty(value = "优惠券编号为一串不重复的字符串。用于唯一确定一张优惠券。")
    private String couponno;

    private Integer couponreciveuserid;

    private String couponreciveusername;

    private Date couponrecivetime;

    @ApiModelProperty(value = "1--领取未使用	2--领取已使用	3--领取已过期")
    private Integer couponrecivestate;

    @ApiModelProperty(value = "如果优惠券是按照领取后的相对时间，则开始时间为领取时间")
    private Date couponrecivebegin;

    private Date couponreciveend;

    private Date couponrecivestatetime;

    private String couponfiled5;

    private String couponfiled1;

    private String couponfiled4;


    public Integer getCouponreciveid() {
        return couponreciveid;
    }

    public void setCouponreciveid(Integer couponreciveid) {
        this.couponreciveid = couponreciveid;
    }

    public Integer getCouponid() {
        return couponid;
    }

    public void setCouponid(Integer couponid) {
        this.couponid = couponid;
    }

    public String getCouponno() {
        return couponno;
    }

    public void setCouponno(String couponno) {
        this.couponno = couponno;
    }

    public Integer getCouponreciveuserid() {
        return couponreciveuserid;
    }

    public void setCouponreciveuserid(Integer couponreciveuserid) {
        this.couponreciveuserid = couponreciveuserid;
    }

    public String getCouponreciveusername() {
        return couponreciveusername;
    }

    public void setCouponreciveusername(String couponreciveusername) {
        this.couponreciveusername = couponreciveusername;
    }

    public Date getCouponrecivetime() {
        return couponrecivetime;
    }

    public void setCouponrecivetime(Date couponrecivetime) {
        this.couponrecivetime = couponrecivetime;
    }

    public Integer getCouponrecivestate() {
        return couponrecivestate;
    }

    public void setCouponrecivestate(Integer couponrecivestate) {
        this.couponrecivestate = couponrecivestate;
    }

    public Date getCouponrecivebegin() {
        return couponrecivebegin;
    }

    public void setCouponrecivebegin(Date couponrecivebegin) {
        this.couponrecivebegin = couponrecivebegin;
    }

    public Date getCouponreciveend() {
        return couponreciveend;
    }

    public void setCouponreciveend(Date couponreciveend) {
        this.couponreciveend = couponreciveend;
    }

    public Date getCouponrecivestatetime() {
        return couponrecivestatetime;
    }

    public void setCouponrecivestatetime(Date couponrecivestatetime) {
        this.couponrecivestatetime = couponrecivestatetime;
    }

    public String getCouponfiled5() {
        return couponfiled5;
    }

    public void setCouponfiled5(String couponfiled5) {
        this.couponfiled5 = couponfiled5;
    }

    public String getCouponfiled1() {
        return couponfiled1;
    }

    public void setCouponfiled1(String couponfiled1) {
        this.couponfiled1 = couponfiled1;
    }

    public String getCouponfiled4() {
        return couponfiled4;
    }

    public void setCouponfiled4(String couponfiled4) {
        this.couponfiled4 = couponfiled4;
    }

    @Override
    public String toString() {
        return "Couponrecive{" +
                "couponreciveid=" + couponreciveid +
                ", couponid=" + couponid +
                ", couponno=" + couponno +
                ", couponreciveuserid=" + couponreciveuserid +
                ", couponreciveusername=" + couponreciveusername +
                ", couponrecivetime=" + couponrecivetime +
                ", couponrecivestate=" + couponrecivestate +
                ", couponrecivebegin=" + couponrecivebegin +
                ", couponreciveend=" + couponreciveend +
                ", couponrecivestatetime=" + couponrecivestatetime +
                ", couponfiled5=" + couponfiled5 +
                ", couponfiled1=" + couponfiled1 +
                ", couponfiled4=" + couponfiled4 +
                "}";
    }
}
